<html>
<head>

    <meta charset="utf-8">
    <title>新闻攥写</title>
    <style type="text/css">
        @import "resource/css/newssub.css";
    </style>
    <script src="resource/js/safe.js"></script>
</head>
<body>
<div class="pan">
    <div class="back">
        <a href="Personal.php">返回<a>
    </div>
    <div class="main">
        <form action="newssubmitDo.php" method="post" enctype="multipart/form-data" >
            <div class="picture">
                <p>新闻封面选择</p>
                <input type="file" name="uppicture" id="uppicture" accept="image/*">
            </div>
            <div class="title">
                <p>新闻标题(不超过15个字符，且不能包含以下字符:/ \ : * " < > | ？):</p>
                <input type="text" name="title" id="title" size="80"maxlength="15" onkeyup="ValidateValue(this)">
            </div>
            <div class="lei">
                <p>游戏：</p>
                <select name="select" id="select" style="color:purple">
                    <option value="MHWI">MHW:I</option>
                    <option value="MHR">MHW:RISE</option>
                </select>
            </div>
            <div class="write">
                <p>新闻内容:</p>
                <textarea name="news" cols="110" rows="50" id="news"></textarea>
            </div>
            <div class="submit">
                <input type="submit" value="发布" onclick="check()">
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="resource/js/newssub.js"></script>
</body>
</html>
